<div class="static" style="min-height:250px;padding:20px;">
 <?php
 if($status==1)
 {
	 echo "Registration success full.Please check your mail for verification";
 }
 ?>  
 
 <form action="<?= $base_url; ?>/member/forget_password/<?= $cur_page;?>" method="post" id="reg_form" enctype="multipart/form-data" class="pass_form_01">

<br/>
<?php
if($flag==1)
{
	echo "<div class='st_msg'>Please check your mail. Your password has been sent</div>";
}
elseif($flag==2)
{
	echo "<div class='err'You are not registerd member</div>";
}
?>
<h3 class="tit_1"> Forget Password..? </h3>
<table  id="tblform">
<tbody>
	
    
    <tr>
		<td>Enter your email Id</td>
		<td><input class="inpt_pas" type="text" name="email_id" value="<?php echo $student['email_id'];?>" /></td>
	</tr>
  

	<tr>
		<td>&nbsp;</td>
		<td>     
			<div class="buttons" style="margin-left:50px;"><br/>
			  <button type="submit" name="save" class="b21" value="save" >
			       
			          <?php if(!empty($id)) { ?>
 							Update 
 							<input type="hidden" name="id" value="<?php echo $id;?>" />
                       
 							<input  type="hidden" name="rurl" value="<?php echo $rurl;?>" />
 					  <?php } else { ?>
 					  	Send
 					  	<?php } ?>

 			    </button><a href="javascript: history.go(-1)" style="text-decoration:none;"><button type="button" name="cancel" class="b21" value="cancel" > Cancel </button></a>
			
			</div>
		</td>
	</tr>
</tbody>
</table>
 </form>
 </div>
 <script>
 $(document).ready(function() {
     $("#reg_form").RSV({
       onCompleteHandler: frmSubmit,
       errorFieldClass: "errorDesc",
       displayType: "display-html",
       errorHTMLItemBullet: "&#8212; ",
             rules: [
                     "required,name,Please enter name."
             ]
     });
  // a custom onComplete handler to prevent form submits for the demo
     function frmSubmit()
     {
       return true;
     }

        
});
 </script>